#!/bin/sh

rm -rf aclocal.m4 autom4te.cache config.guess config.sub configure depcomp install-sh ltmain.sh missing config.log  config.status libtool
find . -name 'Makefile.in' | xargs rm -Rf
find . -name 'Makefile' | xargs rm -Rf

libtoolize --force 
aclocal -I m4
autoconf
automake --add-missing --force

